<%@ page import="org.springside.core.Constants"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<fmt:message key="meeting_portal_label1" var="meeting_portal_label1"/>
<fmt:message key="meeting_portal_label2" var="meeting_portal_label2"/>
<fmt:message key="meeting_portal_label3" var="meeting_portal_label3"/>

<ff:boxportlet header="${meeting_portal_label1}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="padding-left:5px">
	<tr>
		<td valign="top">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tbl_left_ico">
        <c:forEach var="meeting" items="${meetingsWait}"> 
        <tr> 
          <td> 
            <a href="#"
            	onClick='mainJump("/modules/meeting/meetings.do?method=show&meetingId=${meeting.meetings.id }&op=waitJoin&show=waitmeeting","<%=Constants.USER_THEME_FRAME %>")'
            	title="${meeting.meetings.name}"> <c:choose> <c:when test="${fn:length(meeting.meetings.name) > param.y}"> 
            ${fn:substring(meeting.meetings.name, 0, param.y)} .... </c:when> <c:otherwise> ${meeting.meetings.name} 
            </c:otherwise> </c:choose> </a> 
			<c:if test="${meeting.meetings.startday!=null}">
				<font color="#999999">(<fmt:formatDate value="${meeting.meetings.startday}" pattern="MM-dd"/>&nbsp;${meeting.meetings.starthour==null?"":meeting.meetings.starthour}:${meeting.meetings.startmenute==null?"":meeting.meetings.startmenute})</font>
			</c:if>
			</td>
        </tr>
        </c:forEach> 
        <c:if test="${fn:length(meetingsWait)<1}"> 
        <tr> 
          <td>&nbsp;</td>
        </tr>
        </c:if> 
        <c:if test="${fn:length(meetingsWait)<2}"> 
        <tr> 
          <td>&nbsp;</td>
        </tr>
        </c:if> 
        <c:if test="${fn:length(meetingsWait)<3}"> 
        <tr> 
          <td>&nbsp;</td>
        </tr>
        </c:if> 
        <c:if test="${fn:length(meetingsWait)<4}"> 
        <tr> 
          <td>&nbsp;</td>
        </tr>
        </c:if> 
        <c:if test="${fn:length(meetingsWait)<5}"> 
        <tr> 
          <td>&nbsp;</td>
        </tr>
        </c:if> 
      </table>
      <table width="100%" height="17">
        <tr>
          <td>&nbsp;</td>
          <td width="30" class="tbl_more_ico_td">
          <a href="#" class="link_portlet" onClick='mainJump("/modules/meeting/meetings.do?method=onMeetingInfoList&ec_s_startday=desc&show=waitmeeting","<%=Constants.USER_THEME_FRAME %>")'
         	title="<fmt:message key="common_more" />"><fmt:message key="common_more" /></a></td>
        </tr>
     </table>
  		</td>
	</tr>
</table>   
</ff:boxportlet>
